﻿@model Common.Background.WebManageUsers
<fieldset>
    <legend>用户信息</legend>
    <div class="editor-label">
        @Html.LabelFor(model => model.LoginName)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.LoginName)
        @Html.ValidationMessageFor(model => model.LoginName)
    </div>
    <div class="editor-label">
        @Html.LabelFor(model => model.Password)
    </div>
    <div class="editor-field">
        @Html.PasswordFor(model => model.Password)
        @Html.ValidationMessageFor(model => model.Password)
    </div>
    <div class="editor-label">
        @Html.LabelFor(model => model.RealName)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.RealName)
        @Html.ValidationMessageFor(model => model.RealName)
    </div>
    <div class="editor-label">
        @Html.LabelFor(model => model.Mobile)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.Mobile)
        @Html.ValidationMessageFor(model => model.Mobile)
    </div>
    <div class="editor-label">
        @Html.LabelFor(model => model.Email)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.Email)
        @Html.ValidationMessageFor(model => model.Email)
    </div>
    <div class="editor-label">
        @Html.LabelFor(model => model.Description)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.Description)
        @Html.ValidationMessageFor(model => model.Description)
    </div>
    <div class="editor-label">
        @Html.LabelFor(model => model.DepartmentID)
    </div>
    <div class="editor-field">
        @Html.ValidationMessageFor(model => model.DepartmentID)
        @Html.Partial("_DeptTreePartial", new Tuple<string, int?, bool>(null, Model == null ? -1 : Model.DepartmentID, false))
    </div>
    <div class="editor-label">
        @Html.LabelFor(model => model.WebSystemID)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.WebSystemID)
        @Html.ValidationMessageFor(model => model.WebSystemID)
    </div>
    @Html.Partial("/views/common/PartialDept_Role.cshtml", Model)
    <p>
        <input type="submit" value="提交" />
    </p>
</fieldset>
